module API::V2
  class Users < Grape::API
    resource :users do
      post :signin do
        signin = Signin.new params[:signin]
        signin.remote_ip = request.env["REMOTE_ADDR"] 
        signin.save
        present signin
      end
    end
  end
end